package com.rongke.model;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.rongke.utils.DateJsonDeserializer;
import com.rongke.utils.DateJsonSerializer;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @UserQuerstion
 * @用户问卷调查(user_querstion)
 * @version : Ver 1.0
 */
@TableName("user_querstion")
public class UserQuestion implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:注解 用户答案ID
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;


	/**
	 * @备注:用户id
	 * @字段:user_id BIGINT(19)
	 */
	private java.lang.Long userId;


	/**
	 * @备注:商品id
	 * @字段:goods_id BIGINT(19)
	 */
	private java.lang.Long goodsId;


	/**
	 * @备注:问卷id
	 * @字段:querstion_id BIGINT(19)
	 */
	private java.lang.Long querstionId;


	/**
	 * @备注:选项id
	 * @字段:option_id BIGINT(19)
	 */
	private java.lang.Long optionId;


	/**
	 * @备注:
	 * @字段:addtime DATETIME(19)
	 */
	private java.util.Date addtime;


	public UserQuestion(){
	}

	public UserQuestion(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setUserId(java.lang.Long userId) {
		this.userId = userId;
	}

	public java.lang.Long getUserId() {
		return this.userId;
	}


	public void setGoodsId(java.lang.Long goodsId) {
		this.goodsId = goodsId;
	}

	public java.lang.Long getGoodsId() {
		return this.goodsId;
	}


	public void setQuerstionId(java.lang.Long querstionId) {
		this.querstionId = querstionId;
	}

	public java.lang.Long getQuerstionId() {
		return this.querstionId;
	}


	public void setOptionId(java.lang.Long optionId) {
		this.optionId = optionId;
	}

	public java.lang.Long getOptionId() {
		return this.optionId;
	}


	public void setAddtime(java.util.Date addtime) {
		this.addtime = addtime;
	}

	public java.util.Date getAddtime() {
		return this.addtime;
	}
}
